/*
 * Physic.h
 *
 *  Created on: 2011-02-20
 *      Author: Basse
 */

#ifndef PHYSIC_H_
#define PHYSIC_H_
#include "Unit.h"

class Physic{
public:
	static const short baseGravity = 1;
	static const short waterGravity = 5;
	static const short normalFriction = 1;
	static const short iceFriction = 0.5;
	static const short airFriction = 0.5;

	static void applyGravity (Unit* u, short gravitation); //Apply gravity acceleration on a certain speed vector.

	static void applyFriction(Unit* u, short friction);

};

#endif /* PHYSIC_H_ */
